using System;
using System.Windows.Media.Imaging;
namespace MicroMsg.UI.ImageFilter
{
	public class ImageFilterConfig
	{
		public ImageFilterCallBack ImageFilterCallBack;
		public RawImageHandleCallBack RawImageHandleCallBack;
		public int CutWidth;
		public int CutHeight;
		public ImageFilterGetPicMode GetPicMode;
		public BitmapImage SourceImage;
		public bool isSaveToAlbum;
		public bool isNeedFilter;
		public string ForwardPageUri;
		public ImageFilterConfig(ImageFilterCallBack ImageFilterCallBack, ImageFilterGetPicMode GetPicMode = ImageFilterGetPicMode.GetPicMode_Choose_With_Take, int CutWidth = 0, int CutHeight = 0, RawImageHandleCallBack RawImageHandleCallBack = null)
		{
			this.ImageFilterCallBack = ImageFilterCallBack;
			this.GetPicMode = GetPicMode;
			this.CutWidth = CutWidth;
			this.CutHeight = CutHeight;
			this.RawImageHandleCallBack = RawImageHandleCallBack;
		}
		public ImageFilterConfig(ImageFilterCallBack ImageFilterCallBack, BitmapImage SourceImage)
		{
			this.ImageFilterCallBack = ImageFilterCallBack;
			this.SourceImage = SourceImage;
			this.GetPicMode = ImageFilterGetPicMode.GetPicMode_Pass_In;
		}
	}
}
